package com.ruoyi.train.domain;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Getter;
import lombok.Setter;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训学校员工信息对象 jy_training_school_staff_detail
 *
 * @author aulbrother
 * @date 2024-04-06
 */
@Setter
@Getter
@ExcelIgnoreUnannotated
@ColumnWidth(20)
public class JyTrainingSchoolStaffDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @ExcelProperty(value = "${comment}")
    private Long staffId;

    /** 民族 */
    @ExcelProperty(value = "民族")
    private String nationality;

    /** 证件类型 */
    @ExcelProperty(value = "证件类型")
    private String idType;

    /** 户口类型 */
    @ExcelProperty(value = "户口类型")
    private String residenceType;

    /** 电子邮件 */
    @ExcelProperty(value = "电子邮件")
    private String email;

    /** 参加工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "参加工作时间")
    private Date startWorkingDate;

    /** 学历 */
    @ExcelProperty(value = "学历")
    private String education;

    /** 毕业学校 */
    @ExcelProperty(value = "毕业学校")
    private String graduationSchool;

    /** 籍贯 */
    @ExcelProperty(value = "籍贯")
    private String nativePlace;

    /** 婚否 */
    @ExcelProperty(value = "婚否")
    private String maritalStatus;

    /** 证件号码 */
    @ExcelProperty(value = "证件号码")
    private String idNumber;

    /** 联系电话 */
    @ExcelProperty(value = "联系电话")
    private String contactNumber;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "入职时间")
    private Date hireDate;

    /** 职级 */
    @ExcelProperty(value = "职级")
    private String positionLevel;

    /** 专业 */
    @ExcelProperty(value = "专业")
    private String major;

    /** 家庭住址 */
    @ExcelProperty(value = "家庭住址")
    private String address;

    /** 特长 */
    @ExcelProperty(value = "特长")
    private String specialSkill;

    /** 其他资料 */
    @ExcelProperty(value = "其他资料")
    private String otherDetails;

}
